#########################################################################
# File : /lua/system/numutils.lua
# Description : Cached num values
# Author : GPG
#########################################################################

num = {
    PI                  = 3.14159265,
    TWO_PI     			= 6.28318531,
    PI_OVER_2  			= 1.57079633,
    PI_OVER_3  			= 1.04719755,
    PI_OVER_4  			= .785398163,
    PI_OVER_6  			= .523598776,
    E          			= 2.71828183,
    D2R                 = 0.0174532925,    # pi/180 (degrees to radians)
    R2D                 = 57.2957795,      # 180/pi (radians to degrees)
    SQRT_TWO			= 1.41421356,			# square root of two
    INV_SQRT_TWO		= .707106781,			# 1/sqrt(2)
    LOG_TWO				= .693147181,			# log(2)
    INV_LOG_TWO			= 1.44269504,			# 1/log(2)
}